import {useRouter} from "vue-router";
const router = useRouter()

export const routerGo=(path)=>{
    router.push(path)
}
export const uploadUrl = ()=>{
    return `${serverAddress()}/upload`
}
export const serverAddress = ()=>{
    return "http://localhost:8081/api";
}